<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'lekarz-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Pola oznaczone <span class="required">*</span> są wymagane.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'Imie'); ?>
		<?php echo $form->textField($model,'Imie',array('size'=>15,'maxlength'=>15)); ?>
		<?php echo $form->error($model,'Imie'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Nazwisko'); ?>
		<?php echo $form->textField($model,'Nazwisko',array('size'=>30,'maxlength'=>30)); ?>
		<?php echo $form->error($model,'Nazwisko'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Tytul'); ?>
		<?php echo $form->textField($model,'Tytul',array('size'=>30,'maxlength'=>30)); ?>
		<?php echo $form->error($model,'Tytul'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Telefon'); ?>
		<?php echo $form->textField($model,'Telefon',array('size'=>15,'maxlength'=>15)); ?>
		<?php echo $form->error($model,'Telefon'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Dodaj' : 'Zapisz'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->